package com.wm.bean;

import java.io.*;
import java.util.Date;

public class Address implements Serializable {
	private static final long serialVersionUID = 3938860373226088110L;
	
	private long id;					//主键ID
	private long userId;			    //用户ID
	private String linkman;				//联系人
	private String phone;				//电话
	private String backPhone;			//备用电话
	private String address;				//联系地址
	private int isDefault;			//是否是默认地址，0不是1是
	private int valid;				//是否有效，0无效1有效
	private Date addTime;				//添加时间
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	public String getLinkman() {
		return linkman;
	}
	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getBackPhone() {
		return backPhone;
	}
	public void setBackPhone(String backPhone) {
		this.backPhone = backPhone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public int getIsDefault() {
		return isDefault;
	}
	public void setIsDefault(int isDefault) {
		this.isDefault = isDefault;
	}
	public int getValid() {
		return valid;
	}
	public void setValid(int valid) {
		this.valid = valid;
	}
	public Date getAddTime() {
		return addTime;
	}
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

}
